
var  _temUserId;
var appManager = new Vue({
            el: '#managerUIApp',
            data: {
                
				ShowManagerUI:false,
				isShowDetailInfo:false,
				
				list: 
				    [{
				    	"id": 523,
				    	"name": "战队",
				    	"child": [{
				    		"id": "55",
				    		"name": "天涯t"
				    	}, {
				    		"id": "56",
				    		"name": "天涯t1"
				    	}, {
				    		"id": "57",
				    		"name": "天涯t0"
				    	}]
				    }, {
				    	"id": 524,
				    	"name": "测试战队",
				    	"child": []
				    }],
					
					UserDetailInfo:
					{
						"id": 17,
						"userId": 59,
						"bulletCount": 80,
						"lifeValue": 50,
						"fightScore": 35,
						"goldCoin": 75,
						"userName": "天涯4"
					}
				
			
               
            },
            mounted() {
				
    
            },
            methods: {
             
				 ClosePlayInfoWindow()
				{
					//playerUIApp.isShowPlayInfo = false;
					//document.getElementById("playerUIApp").setAttribute('left', '10000px');
					
					document.getElementById("playerUIApp").style.left ="0px";
					
				},
				handleChange(value) {
					console.log(value);
				},
				closeUIManager()
				{
					appManager.ShowManagerUI = false;
				},
				//显示玩家详细数据展示
				 ShowDetailInfo(_userId)
				{
					_temUserId = _userId;
					appManager.isShowDetailInfo = true;
					if(!isTest)
					{
						window.location.href = "uniwebview://ShowPlayerDetailInfoList?userId=" + _userId;
					}
					
					
					
				},
				closeDetailInfoUI()
				{
					appManager.isShowDetailInfo = false;
				},
				//刷新数据展示
				RefreshShowDetailInfo()
				{
					ShowDetailInfo(_temUserId);
				}
				
				
            }
        })
		
	
	function ShowRoomList(data)
	{
		var o = JSON.parse(data);
		appManager.list = o;
	}
	
	function ShowPlayerDetailInfo(data)
	{
		var _json = JSON.stringify(data);
		 var o = JSON.parse(_json);
		 appManager.UserDetailInfo = o;
	}
		
		
		